OOP Practice 1 | Classes and Objects | JAVA

Publicado em: 13 Abril 2021
no canal de: 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...  


Nesta página do site você pode assistir ao vídeo on-line OOP Practice 1 | Classes and Objects | JAVA duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário The CS Revelation 13 Abril 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 260 vezes e gostou 10 espectadores. Boa visualização!