Click here to Skip to main content
15,347,523 members
Home / Discussions / Java
   

Java

 
PinnedForum Guidelines - PLEASE READ Pin
Chris Maunder28-Jul-09 2:36
cofounderChris Maunder28-Jul-09 2:36 
Questionsolve the error Pin
Member 156672428-Jun-22 21:02
MemberMember 156672428-Jun-22 21:02 
RantRe: solve the error Pin
Richard Deeming8-Jun-22 21:19
mveRichard Deeming8-Jun-22 21:19 
AnswerRe: solve the error Pin
Richard MacCutchan8-Jun-22 22:56
mveRichard MacCutchan8-Jun-22 22:56 
QuestionRunnable as a new object? Pin
Member 156629325-Jun-22 13:24
MemberMember 156629325-Jun-22 13:24 
AnswerRe: Runnable as a new object? Pin
Richard MacCutchan5-Jun-22 21:27
mveRichard MacCutchan5-Jun-22 21:27 
AnswerRe: Runnable as a new object? Pin
Gerry Schmitz6-Jun-22 13:47
mveGerry Schmitz6-Jun-22 13:47 
QuestionConnect morpho biometric device with jav Pin
Member 156609363-Jun-22 3:10
MemberMember 156609363-Jun-22 3:10 
AnswerRe: Connect morpho biometric device with jav Pin
Richard MacCutchan3-Jun-22 9:06
mveRichard MacCutchan3-Jun-22 9:06 
Questionissue starting my ksql-server Pin
james michael May202225-May-22 13:20
Memberjames michael May202225-May-22 13:20 
AnswerRe: issue starting my ksql-server Pin
Richard MacCutchan25-May-22 22:03
mveRichard MacCutchan25-May-22 22:03 
QuestionHash Table implementation Pin
Member 156289598-May-22 18:52
MemberMember 156289598-May-22 18:52 
AnswerRe: Hash Table implementation Pin
Richard Deeming8-May-22 21:27
mveRichard Deeming8-May-22 21:27 
AnswerRe: Hash Table implementation Pin
Richard MacCutchan8-May-22 21:43
mveRichard MacCutchan8-May-22 21:43 
QuestionHi guys my code is not compiling as its showing cannot find symbol please help Pin
Member 1561125322-Apr-22 4:48
MemberMember 1561125322-Apr-22 4:48 
AnswerRe: Hi guys my code is not compiling as its showing cannot find symbol please help Pin
Dave Kreskowiak22-Apr-22 4:53
mveDave Kreskowiak22-Apr-22 4:53 
AnswerRe: Hi guys my code is not compiling as its showing cannot find symbol please help Pin
zemiak1231-May-22 13:06
Memberzemiak1231-May-22 13:06 
QuestionDevelopment of Wiki functionality in JSF project Pin
Dev Learning22-Apr-22 2:25
MemberDev Learning22-Apr-22 2:25 
QuestionRelated to resolve my error(Rearranging an array) Pin
Prateek Bajpai10-Apr-22 4:49
MemberPrateek Bajpai10-Apr-22 4:49 
This is Parteek Bajpai, BE COMP student of Bharati Vidyapeeth College of Engineering, Lavale, Pune. I am here to post my problem so that anyone can resolve my problem.

import java.util.ArrayList;
import java.util.List;
public class Solution {
public static int first(List<integer> arr, int low, int high, int x, int n){
if(high >= low){
int mid = low+(high+low)/2;

if(mid == 0 || x>arr.get(mid-1) && arr.get(mid) == x){
return mid;
}
if(x > arr.get(mid)){
return first(arr, (mid+1), high, x, n);
}
else{
return first(arr, low, (mid-1), x, n);
}
}
return -1;
}
public static List<integer> relativeSorting(List<integer> arr, List<integer> brr, int n, int m) {
// Write your code here
List<integer> temp = new ArrayList<integer>(m);
List<integer> visited = new ArrayList<integer>(m);
for(int i=0; i
AnswerRe: Related to resolve my error(Rearranging an array) Pin
Richard MacCutchan10-Apr-22 5:53
mveRichard MacCutchan10-Apr-22 5:53 
QuestionHOW TO USE JTABLE TO DISPLAY ALL RECORDS DATA FROM DATABASE USING JDBC Pin
Member 1558267928-Mar-22 21:48
MemberMember 1558267928-Mar-22 21:48 
AnswerRe: HOW TO USE JTABLE TO DISPLAY ALL RECORDS DATA FROM DATABASE USING JDBC Pin
Richard MacCutchan29-Mar-22 1:31
mveRichard MacCutchan29-Mar-22 1:31 
GeneralRe: HOW TO USE JTABLE TO DISPLAY ALL RECORDS DATA FROM DATABASE USING JDBC Pin
Member 155826795-Apr-22 21:49
MemberMember 155826795-Apr-22 21:49 
QuestionWhiteSpace Character Pin
Sudhanshu_India5-Mar-22 23:26
MemberSudhanshu_India5-Mar-22 23:26 
AnswerRe: WhiteSpace Character Pin
Richard MacCutchan6-Mar-22 1:22
mveRichard MacCutchan6-Mar-22 1:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.