Classes and Objects Practice:
• A Java program consists of one or more classes.
• A class is an abstract description (blueprint) of objects.
• An object is an instance of a class.
• A class may have many instances.
Create the java class Word and implement all of its members.
*Class: Word
*Properties:
myWord: String
*Constructors:
Word()
Word(String)
*Methods:
String getWord() - returns the String property of the Word object.
char getFirstLetter() - returns the first letter of the Word object.
char getLastLetter() - returns the last letter of the Word object.
void removeFirstLetter() - permanently removes the first letter of the Word object.
void removeLastLetter() - permanently removes the last letter of the Word object.
Other videos:
Video1: How to Install NetBeans with JDK Cobundle.
https://www.youtube.com/watch?v=ctIiu....
Video2: First Java application:
• Java Video 2: First Java Application ...
Video3: Java Variables:
https://www.youtube.com/watch?v=G2Gtp....
Video4: Java Arithmetic Operators
https://www.youtube.com/watch?v=zujQE....
Video5: Java Relational (comparison) Operators:
https://www.youtube.com/watch?v=W-l08....
Video6: Java Logical Operators:
https://www.youtube.com/watch?v=FK2_b....
Video7: Java Scanner How to Input Data Part1
• Java Video 7: Java Scanner | Part1 | ...
Video8: Java Scanner Part2 How to input from a text file and a web page
• Java Video 8: Java Scanner Part2 How ...
Video9: Java Methods :
• Java Video 9: Java Methods | Create a...
Video10: Java If statements :
• Java Video 10: Decision Structures | ...
Video11: Java Switch case:
• Java Video 11: Decision Structures | ...
Video12: Read and Write to a File:
• Java Video 12: Read and Write to a File
Video13: For loop:
• Java Video 13: For Loop
Video14: while loop:
• Java Video 14: While Loop
Video15: do .... while loop:
• Java Video 15: do while Loop
Video 16 : One Dimensional Arrays:
• Java Video 16: One Dimensional Arrays
Video 17 : Strings Part1:
• Java Video 17: Java Strings | Creatin...
Video 18 : Strings Part2 : Functions
• Java Video 18: String functions: sub...
Java Video 19: Classes and Objects
• Java Video 19: Classes and Objects
Java Video 20: Inheritance | Abstract | Overloading | Overriding
• Java Video 20: Inheritance | Abstract...
On this page of the site you can watch the video online OOP Practice 1 | Classes and Objects | JAVA with a duration of hours minute second in good quality, which was uploaded by the user The CS Revelation 13 April 2021, share the link with friends and acquaintances, this video has already been watched 260 times on youtube and it was liked by 10 viewers. Enjoy your viewing!