Mini Project Java Hands-On Solutions
The main agenda of this solution is those who are unable to do this course due to facing some issues, a little bit of lack of knowledge on these hands-on questions. Try to understand these codes and solve your hands-On Problems. (Not encourage copy and paste these solutions).
The Course Id: - 63716
1. Strings in Java
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Solution{
public static int charSearch(String str,char ch){
//complete the code
char[] array = str.toCharArray();
int count = 0;
for(int i=0;i<str.length();i++){
if(array[i] == ch){
count++;
}
}
return count;
}
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String str = reader.readLine();
char ch = (char)reader.read();
System.out.println(charSearch(str,ch));
}
}
2. Arrays in Java
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
public static void main(String args[] ) throws Exception {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
Scanner scanner = new Scanner(System.in);
char[] ch = {'0','1','2','3','4','5','6','7','8','9'};
int a = scanner.nextInt();
String str = Integer.toString(a);
int count = 0;
for(int i=0;i<ch.length;i++){
for(int j=0;j<str.length();j++){
if(str.charAt(j) == ch[i])
count++;
}
if(count>0){
System.out.println(ch[i]+": "+count);
count = 0;
}
}
}
}
3. Collections in Java:-
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
public static void main(String args[] ) throws Exception {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
Scanner scanner = new Scanner(System.in);
HashMap<Integer,String> hash = new HashMap<>();
int n = scanner.nextInt();
scanner.nextLine();
while(n>0){
String str =scanner.nextLine();
String s[] = str.split(" ");
hash.put(Integer.parseInt(s[0]), s[1]);
n--;
}
int k = scanner.nextInt();
if(hash.containsKey(k)){
System.out.println(hash.get(k));
}
else{
System.out.println("-1");
}
}
}
Thank You
Mini Project Java Hands-On Solutions
Reviewed by TECH UPDATE
on
April 26, 2021
Rating:
THANNKKKK YOUUUUUUUUUUUUUUUU ........
ReplyDeleteFollow telegram channel for more updates
DeleteCan't get all the solution
DeleteHi please add Digital : Mini-Project - JDBC, MySQL_FP(63717)
DeleteBro did you get answer for 63717
Deletenot all the programs
ReplyDeleteCheck once again with courseId
Deletethere are some programs not here
Delete62243 answer please
Deletehttps://www.tejatechview.com/2022/01/mini-project-java-complete-beginner.html?m=1
DeleteDo you 63431 course if yes plz share it
DeleteDo you have 63431 course solution of yes plz share it
DeleteI need solutions of 62243...can u pls help me
ReplyDeleteDid u get the solutions bro? If yes then please send me also no
DeleteHi did you get the answers if yes pls share
DeleteI am also
DeleteHi,did anyone get the answers?
DeleteHey you get the answer of 62243 course
DeleteHi Please check for Course Id 62243:- https://www.tejatechview.com/2022/01/mini-project-java-complete-beginner.html?m=1
DeleteUnable to run 3 code?
DeleteCan you help me for course id:63717 mini project jdbc,myself. Iam following your telegram group. Thanks in advance.
ReplyDeleteDo u have 63715 course ans
DeleteHi did you get the above mentioned course ?63717
DeleteCould you please help me with the course id: 63717
ReplyDeleteBro did you get answer of 63717
DeleteThank you.iam following your telegram channel. Could you please help me with 63717 also
ReplyDeleteThank you.iam following your telegram page fresco play. Please help me with 63717 course too.thanks in advance
ReplyDeleteThe Second code printing number of digits common is not passing all the test cases
ReplyDeleteDo u find any solution for array test cases please mention in this comments
DeleteAll the handson are not present
ReplyDeleteCan you please help with 63717 course id.
ReplyDeleteCan you please share link for type script handson
ReplyDeleteCan you please help with course Id 63717
ReplyDeletecan you please upload Digital : Mini Project - Java Programming Masterclass_FP
ReplyDeleteCourse ID: 62237 Packages and data base connection solution
Can you please send 70997 and 63717 ?
ReplyDeletebro have you got the answers of 63717 i want bro
DeleteAny one has solution for 70997
DeleteHi , did u get 70977 ?
DeleteHello, Can you please share solution of Course Id 63431?
ReplyDeleteneed solutions of 62237 packages class
ReplyDeleteBro could you have answers for mini project Hadoop tools?
ReplyDeletePlease update arraylist code
ReplyDelete62001 answers please
ReplyDelete62653 answers please
ReplyDeleteCan anyone help in this Array question all test cases failing
ReplyDeletecan some one post the hands-on for this course# Mini Project - Java Programming Masterclass_FP with Course ID: 62237
ReplyDelete1. Packages
2. Java Regular Expressions
3. Java Database Connectivity
4. Java Collections: ArrayList
Array program's is test cases is not getting pass.
ReplyDeletePleas add digital mini project clp core java E2 62001
ReplyDeletePlease add answers for 63717,63718
ReplyDeletePlease...
Can u please post 70997
ReplyDeleteSolution please?