Java

Sunday, 31 March 2024

Reverse Words in a Sentence

 

 


at March 31, 2024 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Count Specific Character in a String

   


at March 31, 2024 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Merge Two arrrays and Sort

 


at March 31, 2024 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Remove duplicate values of an array

 


at March 31, 2024 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Calculate Total

 Write a Java program to calculate the total of the numbers of an array


 



at March 31, 2024 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Tuesday, 30 January 2024

System.out.println()

 System

  • It is a final clas
  • Has private constructor
  • Doesn;t allow to instantiated
  • Provide facilities to standard input ,output

out

  • static method
  • It is used to display output 

println

  • Method in printStream class
  • It takes one argument
  • Data type of argument is String



at January 30, 2024 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

StringBuffer and StringBuilder

 StringBuffer 

  • Synchronized
  • Thread safe

StringBuilder

  • Not synchronized
  • Not thread safe
at January 30, 2024 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Older Posts Home
Subscribe to: Comments (Atom)

Reverse Words in a Sentence

   

Search This Blog

Java Coding

  • Anogram String
  • Count Vowels
  • Even or Odd number
  • Largest number of Array
  • Print Each Character as List
  • Print Each Word in a Sentence
  • Replace Character of a String
  • Reverse a number
  • Reverse with For Loop
  • Reverse with String Builder
  • Second Largest Number In Array
  • Split into substrings
  • Swap numbers
Travel theme. Powered by Blogger.