Posts

Showing posts from April, 2021

How to Write Program for Static Variable in JAVA

Image
           Hello Coders !!! Today, I'm going to start our  Eleventh Project  from the " Series of Small JAVA Projects " to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic ' How to Write Program for Static Variable in JAVA '  For Executing the code I'm going to use an IDE (Integrated Development Environment) called  IntelliJ IDEA  to run your code. This is one of the best IDE and very Smart IDE to help you write faster code in JAVA. Just Install its community version from its official website and start using it. Steps to Create New Project in IntelliJ Idea as follows:- --- >   Go to File  >  New  >  Project  >  Select Java   >  click Next  >... >  check on Create project from template > & give your Project Name (I'm giving  Eleventh  Project ) > click on Finish. ---...

How to Use of Finalize Keyword in JAVA

Image
          Hello Coders !!! Today, I'm going to start our  Tenth Project  from the " Series of Small JAVA Projects " to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic 'How to Use of Finalize Keyword in JAVA'  For Executing the code I'm going to use an IDE (Integrated Development Environment) called  IntelliJ IDEA  to run your code. This is one of the best IDE and very Smart IDE to help you write faster code in JAVA. Just Install its community version from its official website and start using it. Steps to Create New Project in IntelliJ Idea as follows:- --- >   Go to File  >  New  >  Project  >  Select Java   >  click Next  >... >  check on Create project from template > & give your Project Name (I'm giving  Tenth  Project ) > click on Finish. --- >  Now click on...

How to Use of Final Keyword as Method in JAVA

Image
         Hello Coders !!! Today, I'm going to start our  Ninth Project  from the " Series of Small JAVA Projects " to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic 'How to Use of Final Keyword as Method in JAVA'  For Executing the code I'm going to use an IDE (Integrated Development Environment) called  IntelliJ IDEA  to run your code. This is one of the best IDE and very Smart IDE to help you write faster code in JAVA. Just Install its community version from its official website and start using it. Steps to Create New Project in IntelliJ Idea as follows:- --- >   Go to File  >  New  >  Project  >  Select Java   >  click Next  >... >  check on Create project from template > & give your Project Name (I'm giving  Ninth  Project ) > click on Finish. --- >  Now cl...

How to Use of Final Keyword as Variable in JAVA

Image
        Hello Coders !!! Today, I'm going to start our  Eighth Project  from the " Series of Small JAVA Projects " to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic 'How to Use of Final Keyword as Variable in JAVA'  For Executing the code I'm going to use an IDE (Integrated Development Environment) called  IntelliJ IDEA  to run your code. This is one of the best IDE and very Smart IDE to help you write faster code in JAVA. Just Install its community version from its official website and start using it. Steps to Create New Project in IntelliJ Idea as follows:- --- >   Go to File  >  New  >  Project  >  Select Java   >  click Next  >... >  check on Create project from template > & give your Project Name (I'm giving  Eighth  Project ) > click on Finish. --- >  Now clic...

How to Code for Method Overriding in JAVA

Image
       Hello Coders !!! Today, I'm going to start our Seventh Project  from the " Series of Small JAVA Projects " to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic 'How to Code for Method Overriding in JAVA'  For Executing the code I'm going to use an IDE (Integrated Development Environment) called  IntelliJ IDEA  to run your code. This is one of the best IDE and very Smart IDE to help you write faster code in JAVA. Just Install its community version from its official website and start using it. Steps to Create New Project in IntelliJ Idea as follows:- --- >   Go to File  >  New  >  Project  >  Select Java   >  click Next  >... >  check on Create project from template > & give your Project Name (I'm giving  Seventh  Project ) > click on Finish. --- >  Now click on a proj...

How to Code for String Overloading in JAVA

Image
       Hello Coders !!! Today, I'm going to start our  Sixth Project  from the " Series of Small JAVA Projects " to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic 'How to Code for String Overloading in JAVA'  For Executing the code I'm going to use an IDE (Integrated Development Environment) called  IntelliJ IDEA  to run your code. This is one of the best IDE and very Smart IDE to help you write faster code in JAVA. Just Install its community version from its official website and start using it. Steps to Create New Project in IntelliJ Idea as follows:- --- >   Go to File  >  New  >  Project  >  Select Java   >  click Next  >... >  check on Create project from template > & give your Project Name (I'm giving  Sixth  Project ) > click on Finish. --- >  Now click on a p...

How to Code for Method Overloading in JAVA

Image
      Hello Coders !!! Today, I'm going to start our  Fifth Project  from the " Series of Small JAVA Projects " to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic 'How to Code for Method Overloading in JAVA'  For Executing the code I'm going to use an IDE (Integrated Development Environment) called  IntelliJ IDEA  to run your code. This is one of the best IDE and very Smart IDE to help you write faster code in JAVA. Just Install its community version from its official website and start using it. Steps to Create New Project in IntelliJ Idea as follows:- --- >   Go to File  >  New  >  Project  >  Select Java   >  click Next  >... >  check on Create project from template > & give your Project Name (I'm giving  Fifth  Project ) > click on Finish. --- >  Now click on a project...

How to Swap Values in JAVA

Image
     Hello Coders !!! Today, I'm going to start our  Fourth Project  from the " Series of Small JAVA Projects " to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic 'How to Swap Values in JAVA'  For Executing the code I'm going to use an IDE (Integrated Development Environment) called  IntelliJ IDEA  to run your code. This is one of the best IDE and very Smart IDE to help you write faster code in JAVA. Just Install its community version from its official website and start using it. Steps to Create New Project in IntelliJ Idea as follows:- --- >   Go to File > New > Project > Select Java   > click Next >... >  check on Create project from template > & give your Project Name (I'm giving  Fourth  Project ) > click on Finish. --- >  Now click on a project folder and see the folder name 'src', hit right click on t...

How to print out User Input in JAVA

Image
    Hello Coders !!! Today, I'm going to start our Third Project  from the " Series of Small JAVA Projects " to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic 'How to print out User Input in JAVA'  For Executing the code I'm going to use an IDE (Integrated Development Environment) called  IntelliJ IDEA  to run your code. This is one of the best IDE and very Smart IDE to help you write faster code in JAVA. Just Install its community version from its official website and start using it. Steps to Create New Project in IntelliJ Idea as follows:- --- >  Go to File > New > Project > Select Java  > click Next >... >  check on Create project from template > & give your Project Name (I'm giving Third Project ) > click on Finish. --- > Now click on a project folder and see the folder name 'src', hit right click on that folder and go to Ne...

How to Use Arithmetic expression in JAVA

Image
   Hello Coders !!! Today, I'm going to start our  Second Project  from the " Series of Small JAVA Projects " to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic 'How to Use Arithmetic expression in JAVA'  For Executing the code I'm going to use an IDE (Integrated Development Environment) called  IntelliJ IDEA  to run your code. This is one of the best IDE and very Smart IDE to help you write faster code in JAVA. Just Install its community version from its official website and start using it. Steps to Create New Project in IntelliJ Idea as follows:- --- >  Go to File > New > Project > Select Java  > click Next >... >  check on Create project from template > & give your Project Name (I'm giving Second Project) > click on Finish. ---> Now click on a project folder and see the folder name 'src', hit right click on that folder and...

How to Print Data on Screen in JAVA

Image
  Hello Coders !!! Today, I'm going to start our First Project  from the " Series of Small JAVA Projects " to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic 'How to Print Data on Screen in JAVA'  For Executing the code I'm going to use an IDE (Integrated Development Environment) called IntelliJ IDEA  to run your code. This is one of the best IDE and very Intelligent IDE to help you write faster code in JAVA. Just Install its community version from its official website and start using it. Steps to Create New Project in IntelliJ Idea as follows:- --- > Go to File > New > Project > Select Java  > click Next >... >  check on Create project from template > & give your Project Name (I'm giving First Project) > click on Finish. ---> Now click on a project folder and see the folder name 'src', hit right click on that folder and go to New then c...

HOW TO WRITE "HELLO WORLD !" IN JAVA with CODE MODE

Image
Hello Coders !!! Today, I'm going to start a full series of small JAVA Projects to enlighten JAVA basics and make you understand by writing codes and executing them. So, Let's start with today's topic 'HOW TO WRITE "HELLO WORLD !" IN JAVA'  For Executing the code I'm going to use a website called replit.com  , to run your code on replit.com  just visit the website and sign-up. Then click on 'new repl' and select your language that is JAVA and it is ready to write your first code. Here's the Code ! class Main { public static void main ( String [] args ) { System . out . println ( "Hello world!" ); } } /* If you aren't able to see full code on your mobile device, just rotate your screen to landscape mode. */ This is how you write "Hello World !" in JAVA. Just visit the website replit.com  and start coding. Hope you like it. Stay Tuned, A lot more series of small JAVA projects are coming. Don't forget ...