• GitHub

    How to install Github ? Open terminal –>type –> sudo apt install git—>enter your laptop password–> git will be installed What is GitHub? GitHub is a website and cloud-based service that helps developers store and manage their code, as well as track and control changes to their code. To understand exactly what GitHub is, you…

    Read more

  • Scanner/While loop with scanner

    The Scanner class is used to get user input, and it is found in the java.util package. getting input from user during run time. java consider the inputs as token—->(datatypes) Scanner is a existing class To reuse the Existing class we should know: The package name of that class to import. Class name About the…

    Read more

  • IF condition need to be edited

    if statement is used to test the condition. if statement if-else statement if-else-if ladder(tbd) nested if statement Java if Statement The Java if statement tests the condition. It executes the if block if condition is true. Syntax: Java if-else Statement The Java if-else statement also tests the condition. It executes the if block if condition…

    Read more

  • OOPs – Java – Practice Scenarios with detailed Explanations

    Each and every scenario presented here are for getting good understanding on OOP(Object Oriented Programming) through Java. Scenario #1: Expected Understanding: Access Modifiers, Single Inheritance, getter methods, Constructor Overloading1) Create a Class named “Trainer”.– Have default instance variables String dept, institute– Have private instance variable int salary– Assign 10000 as value for salary.– Create getter…

    Read more

Design a site like this with WordPress.com
Get started