OOP Practice 1 | Classes and Objects | JAVA

Veröffentlicht am: 13 April 2021
auf dem Kanal: The CS Revelation
260
10

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...  


Auf dieser Seite können Sie das Online-Video OOP Practice 1 | Classes and Objects | JAVA mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer The CS Revelation 13 April 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 260 Mal angesehen und es wurde von 10 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!