Creating Class and methods – Java OOP Exercise

Java OOP exercise to learn how to create class and methods by reading requirements. Exercise-1: Create a class Dog, that has 3 properties (class fields) breed, age and colour with behaviours (class method) bark and sleep. Exercise-2: There is a car, which has attributes model and price, and the car has functionalities start, stop and … Read more Creating Class and methods – Java OOP Exercise

Check Your Java OOPs Concepts Skills and Master it Quickly

Did you finish learning Java OOPs Concepts? Check your level with tricky Coding & Conceptual OOP questions –  Master and Get Ready for writing industry-level application in no time with the book OOP Concepts Booster! (Try these 5 Coding and 15 Conceptual Questions!) Coding OOP Questions: Q-1) Below is a bank user account class. The … Read more Check Your Java OOPs Concepts Skills and Master it Quickly

Find Best Job Vacancies across the world on Jooble!

Jooble’s mission is to help people find work The company is constantly working to ensure that the employment process is as comfortable and fast as possible, for both the applicant and the employer. Jooble is a LinkedIn and Google global partner whose technologies assist people find work. Every day, Jooble brings together over 250,000 resources … Read more Find Best Job Vacancies across the world on Jooble!

User Defined Exception in Java with Real-time example

User Defined Exception in Java with a real-life example and code. You’ll learn how to use this exception in a class. User defined exception means you write your own custom exception class to use in a program. If an exception occurs, it throws the exception. You can use your custom message to show to the … Read more User Defined Exception in Java with Real-time example

Student details using an array of objects: Java Exercise

You’ll learn to implement a program for Student details using an array of objects in Java. EXERCISE: Create an array of objects of the Student class, of size 3. The Student class is defined below. Create three objects of the Student class, with values, and assign the objects to the array. Loop through the array … Read more Student details using an array of objects: Java Exercise

Shape Interface Implementation: Java Exercise

EXERCISE: Create a Shape interface having methods area () and perimeter (). Create 2 subclasses, Circle and Rectangle that implement the Shape interface. Create a class Sample with main method and demonstrate the area and perimeters of both the shape classes. You need to handle the values of length, breath, and radius in respective classes to … Read more Shape Interface Implementation: Java Exercise

Extract Numbers from String – Java

Java code to extract digits or numbers from a string with logic and explanation. We’ll use 2 methods: (1) using regex expression with replaceAll method of String object, and (2) using loop and ascii values of characters. Extract Numbers from String using regex Logic: Use the regular expression [^0-9] to find non-integer characters in the … Read more Extract Numbers from String – Java

Test Your Skills in OOPs Concepts with JAVA and Master Quickly

#1 Reason that destroy your growth and work life balance is not having a crystal-clear understanding and writing working code without efficient use of OOP features. Get strong hold on object-oriented programming concepts in no time with the new book OOP Concepts Booster. TEST YOUR OOP CONCEPTS LEVEL Q-1– Encapsulation concept is—–( Don’t say wrapping … Read more Test Your Skills in OOPs Concepts with JAVA and Master Quickly

FRESHER: Learn what Level of OOPs Concepts Separates You From The Crowd in Job Interviews

You’ll learn the Level of OOPs Concepts you should gain that separate you from the crowd and make your interview impressive, Is this level expected from a fresher, and How you can achieve it. Even better – it takes little to no time to achieve it. When I taught this level of skills to freshers, … Read more FRESHER: Learn what Level of OOPs Concepts Separates You From The Crowd in Job Interviews