163 subscribers
3.42K photos
24 videos
39 files
371 links
Link: @java_posts

Contact: java.response.email@gmail.com
Download Telegram
Java
code.png
#Data_structure
#Output
#84
Example inputs for a given Data Structure:

Input:
string: codesleepcode
pattern: XYX

Output:
X: code
Y: sleep


Input:
string: codecodecode
pattern: XXX

Output:
X: code
DiffOddEven.png
759.6 KB
Java Program to calculate the Difference between the Sum of the Odd Level and the Even Level Nodes of a Binary Tree
#Source_code
#85
Media is too big
VIEW IN TELEGRAM
For those of you who are facing midterm exams, project deadlines or just dealing with time management😅.
#meme
code.png
229 KB
Java Program to Count the Total Number of Punctuation Characters Exists in a String
#Source_code
#86
Java
code.png
#Output
#86
Output:
The number of punctuations exists in the string is: 5
Java long to String
#Source_code
#87
Java long to String Example 2
#Source_code
#88
Java example program to convert String to Float.
#Source_code
#89
Java Program to add two matrices
We can add two matrices in java using binary + operator. A matrix is also known as array of arrays. We can add, subtract and multiply matrices
#Source_code
#90
Bit Hacks – Playing with the rightmost set bit of a number
#Source_code
#Data_structure
#91
Single linked list Example in Java
#Source_code
#Data_structure
#92
SinglyLinkedList2
476.6 KB
Singly Linked List Example in Java
Example 2
#Source_code
#Data_structure
#93
CountNodes
613.6 KB
Java program to create a singly linked list of n nodes and count the number of nodes
#Source_code
#Singly_Linked_list
#94
ReverseList
645.6 KB
Java program to create a singly linked list of n nodes and display it in reverse order
#Source_code
#Singly_Linked_list
#reverse_order
#95
Print ASCII value example
#Source_code
#96
Binary
Print all distinct subset of a given set.
#Source_code
#Data_structure
#Binary
#97
Java Convert String to double
We can convert String to double in java using Double.parseDouble() method.
#Source_code
#Conversion
#98
Java Convert Date to String
We can convert Date to String in java using format() method of java.text.DateFormat class.

format() method of DateFormat
The format() method of DateFormat class is used to convert Date into String. DateFormat is an abstract class. The child class of DateFormat is SimpleDateFormat. It is the implementation of DateFormat class.
#Source_code
#Conversion
#99