HI there, i have a question i hope its easy to understand, if you could help i would be greatly appreciated :) I have a Parent Class <Piece>, this class has Child classes, so...
Hi there, imagine i have these 3 lines, <ID>,<Genre>,<Year> Ex: 1000,RockAndRoll,2018 1005,Pop,2015 1000,House,2011 and i have a class that stores each line info on a Arra...
For example...I have a arrayList of different movies, and for each movie I have a arrayList of different actors who acted on the movie. Nós imagine I want to search for a X ac...
If i have a int array with dinamic memmory in a function and i want to return it with commas how do i do it? for example: array[0] = 1; array[1] = ...
Got it, but it was an example. In the program the Child1 will call a lot of ChildX classes, so do you think I should extend to all classes?
But what if i am reading a .txt file using scanner?
fun main(args: Array<String>) { val n = 20 var t1 = 0 var t2 = 1 print("First $n terms: ") for (i in 1..n) { val sum = t1 + t2 t1...
the last number of the line has a \n so it makes it return 0, how do i prevent it from reading that \n?
How do i fix this? If the arraylist has more than 1 string in it, how do i show them with a caracter, like: "Jonh / Wayne / Bruce"
how do i make my program read the each line of the .txt with that structure?
Hi there, just have a quick question. Is it possible for a Child1 Class call a method from Child2 class?
Anyone knows kotlin here?
when i say real life i mean...like in our day to day...what can be equal to using dinamic memory allocation?
Does using exitProcess() terminate the program in Koltin? I am using it but the programs continues to run
Is there any way to make a value not stay more than 5seconds?
Is there a way to concatenate numbers with a ' , ' (comma) and then return it?
anyone can tell me a good real life example of dinamic memory allocation?
ok...i am on the array step now...how to i declare a array with 8 as the lenght?
Can anyone tell me how do i call a function inside another function???
How do I get that decimal point to move?