The deceased, identified as Gayatri, a second year degree student, was supposed to get married in the next month.
According to police, the accused Srikanth, a private employee, was known to the family of Gayatri.
Yadagiri police sub-inspector G. Prabhakar said Srikanth surrendered before police after the incident.
According to Gayatri's father Sailu, Srikanth barged in his house when his daughter and son were alone.
He said though he and his family members knew Srikanth, they were not aware of any kind of affair between Gayatri and the accused.
Prabhakar said they are registering a case and further investigation is on.